package automatasimulator.UI;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JSeparator;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JList;
import javax.swing.JTable;
import java.awt.Component;
import javax.swing.JLabel;
import java.awt.Dimension;
import java.awt.Window.Type;
import javax.swing.SwingConstants;
import java.awt.Rectangle;
import java.awt.Point;
import javax.swing.table.DefaultTableModel;
import javax.swing.ListSelectionModel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import java.awt.CardLayout;
import javax.swing.JDesktopPane;
import javax.swing.JSplitPane;
import javax.swing.JLayeredPane;
import javax.swing.JPanel;
import java.awt.Cursor;
import javax.swing.JScrollPane;
import javax.swing.border.TitledBorder;
import javax.swing.JTabbedPane;
import java.awt.ComponentOrientation;
import javax.swing.DebugGraphics;
import javax.swing.JTextField;

public class Janela2 {

	private JFrame frmAutomataSimulator;
	private JTextField txtDigiteAquiA;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Janela2 window = new Janela2();
					window.frmAutomataSimulator.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public Janela2() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frmAutomataSimulator = new JFrame();
		frmAutomataSimulator.setResizable(false);
		frmAutomataSimulator.setTitle("Automata Simulator");
		frmAutomataSimulator.setName("");
		frmAutomataSimulator.setBounds(100, 100, 600, 600);
		frmAutomataSimulator.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frmAutomataSimulator.getContentPane().setLayout(new CardLayout(0, 0));
		
		JDesktopPane desktopPane = new JDesktopPane();
		frmAutomataSimulator.getContentPane().add(desktopPane, "name_20989281357222");
		desktopPane.setLayout(null);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBounds(6, 123, 586, 241);
		desktopPane.add(tabbedPane);
		
		JPanel AFD = new JPanel();
		tabbedPane.addTab("AFD", null, AFD, null);
		
		JPanel AFND = new JPanel();
		tabbedPane.addTab("AFND", null, AFND, null);
		
		JPanel AP = new JPanel();
		tabbedPane.addTab("AP", null, AP, null);
		
		JPanel MT = new JPanel();
		tabbedPane.addTab("MT", null, MT, null);
		
		JLabel lblPalavra = new JLabel("PALAVRA :");
		lblPalavra.setForeground(Color.WHITE);
		lblPalavra.setBounds(17, 51, 69, 15);
		desktopPane.add(lblPalavra);
		
		txtDigiteAquiA = new JTextField();
		txtDigiteAquiA.setText("Digite aqui a palavra");
		txtDigiteAquiA.setBounds(98, 45, 480, 27);
		desktopPane.add(txtDigiteAquiA);
		txtDigiteAquiA.setColumns(10);
	}
}
